package vsm.vsm_server.service;


import vsm.vsm_server.pojo.Video.*;

import java.math.BigInteger;
import java.util.List;

public interface VideoService {

    BigInteger getUserId(BigInteger videoId);
    List<VideoNailVO> getSelfVideos(BigInteger userid);

    List<BigInteger> getUpVideoIds(BigInteger userid);

    void deleteVideo(BigInteger videoId);

    void createVideo(Video newVideo);

    Video getVideo(BigInteger videoId);

    Boolean updateVideo(Video newVideo);

    void addLikeCount(BigInteger videoId);

    void deLikeCount(BigInteger videoId);

    List<VideoIdVO> getRecVideoList(BigInteger userid, Integer videocount);

    VideoDetailVO videoToDetailVideo(Video video, BigInteger userid);

    List<VideoTag> getTagIds(List<BigInteger> videoId);

    List<BigInteger> findTopNHotVideoIds(int count);

    List<BigInteger> findRandomNewVideoIds(int count);
}
